﻿using PSE.Framework.Communication.Configuration.Adapters;
using System.Configuration;
namespace PSE.Framework.Communication.Configuration.Adapters.Stm
{

    [ConfigurationCollection(typeof(StmInputAdapterActionConfiguration), AddItemName = "action",
  CollectionType = ConfigurationElementCollectionType.BasicMap)]
    public class StmInputAdapterActionConfigurationCollection : InputAdapterActionConfigurationCollection
    {
        public new StmInputAdapterActionConfiguration this[int index]
        {
            get
            {
                return base[index] as StmInputAdapterActionConfiguration;
            }
            set
            {
                base[index] = value;
            }
        }

        public new StmInputAdapterActionConfiguration this[string key]
        {
            get
            {
                return base[key] as StmInputAdapterActionConfiguration;
            }
            set
            {
                base[key] = value;
            }
        }

        protected override System.Configuration.ConfigurationElement CreateNewElement()
        {
            return new StmInputAdapterActionConfiguration();
        }
    }
}